import Layout from '@/layout'
export default {
  path: '/user',
  component: Layout,
  redirect: 'register',
  name: 'user',
  meta: {title: '人事管理', icon: 'example'},
  children: [
    {
      path: 'staff',
      name: 'staff',
      component: () => import('../../views/user/user-base-mess'),
      meta: {title: '人事基本资料表', icon: 'table'}
    },
    {
      path: 'contact',
      name: 'contact',
      component: () => import('../../views/user/family-social-relationship'),
      meta: {title: '家庭主要成员与社会关系', icon: 'table'}
    },
    {
      path: 'account',
      name: 'account',
      component: () => import('../../views/user/account'),
      meta: {title: '账户管理', icon: 'table'}
    },
    {
      path: 'control',
      name: 'control',
      component: () => import('../../views/user/control'),
      meta: {title: '角色权限', icon: 'table',requiresAuth: true}
    },
    {
      path: 'jurisdiction',
      name: 'jurisdiction',
      component: () => import('../../views/user/control/jurisdiction'),
      meta: {title: '配置权限', icon: 'table',requiresAuth: true}
    },
    
    {
      path: 'patient',
      name: 'patient',
      component: () => import('../../views/user/patient'),
      meta: {title: '患者档案', icon: 'table'}
    },
    {
      path: 'chronicIdiopathicDisease',
      name: 'chronicIdiopathicDisease',
      component: () => import('../../views/user/chronicIdiopathicDisease'),
      meta: {title: '慢特病', icon: 'table'}
    }

  ]
}


